package com.forlove.app.qselect.school.adapter;

import android.content.Context;

import com.forlove.app.R;
import com.forlove.app.common.widget.recyview.BaseRecyclerAdapter;
import com.forlove.app.common.widget.recyview.ViewHolder;
import com.forlove.app.qselect.login.entity.SchoolInfoEntity;

import java.util.List;

/**
 * Created by yjl on 2018/1/2.
 */

public class NearbySchoolAdapter extends BaseRecyclerAdapter<SchoolInfoEntity> {
    public NearbySchoolAdapter(Context context, int itemView, List<SchoolInfoEntity> mDatas) {
        super(context, itemView, mDatas);
    }

    @Override
    protected void convertView(ViewHolder holder, SchoolInfoEntity entity, int position) {
        holder.setText(R.id.text_school_name, entity.school);
    }
}
